package com.zxp.snowy.test.mapper;

import com.zxp.snowy.test.entity.Simple;
import com.zxp.snowy.test.dto.SimpleDTO;
import com.zxp.snowy.test.param.SimpleParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
 * <p>
 * 测试表 Mapper 接口
 * </p>
 *
 * @author shollin
 * @since 2024-09-11
 */
public interface SimpleMapper extends BaseMapper<Simple> {

    /**
     * 获取列表
     */
    List<SimpleDTO> customList(@Param("paramCondition") SimpleParam paramCondition);

    /**
     * 获取map列表
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") SimpleParam paramCondition);

    /**
     * 获取分页实体列表
     */
    Page<SimpleDTO> customPageList(@Param("page") Page page, @Param("paramCondition") SimpleParam paramCondition);

    /**
     * 获取分页map列表
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") SimpleParam paramCondition);


}
